[INFO] cloning repository https://github.com/Inas1234/Wasm_Raycasting_Engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inas1234/Wasm_Raycasting_Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInas1234%2FWasm_Raycasting_Engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInas1234%2FWasm_Raycasting_Engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d23b6f883d5f548c75c96796b496b6f8d229a17d
[INFO] fixing Inas1234/Wasm_Raycasting_Engine against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInas1234%2FWasm_Raycasting_Engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Inas1234/Wasm_Raycasting_Engine
[INFO] finished tweaking git repo https://github.com/Inas1234/Wasm_Raycasting_Engine
[INFO] tweaked toml for git repo https://github.com/Inas1234/Wasm_Raycasting_Engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Inas1234/Wasm_Raycasting_Engine on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Inas1234/Wasm_Raycasting_Engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830
[INFO] running `Command { std: "docker" "start" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.95
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.95
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.95
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.95
[INFO] [stderr]     Checking js-sys v0.3.72
[INFO] [stderr]     Checking web-sys v0.3.72
[INFO] [stderr]     Checking wasm_game_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let engine = ENGINE.as_ref().unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.52s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let engine = ENGINE.as_ref().unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: wasm_game_engine v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking wasm_game_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HtmlImageElement`
[INFO] [stdout]  --> src/renderer.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use web_sys::{CanvasRenderingContext2d, HtmlCanvasElement, HtmlImageElement};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]    --> src/engine.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[wasm_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]     = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use wasm_bindgen::JsValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `console`
[INFO] [stdout]  --> src/utils.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web_sys::{window, Performance, console};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HtmlImageElement`
[INFO] [stdout]  --> src/renderer.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use web_sys::{CanvasRenderingContext2d, HtmlCanvasElement, HtmlImageElement};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]    --> src/engine.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[wasm_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]     = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use wasm_bindgen::JsValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `console`
[INFO] [stdout]  --> src/utils.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web_sys::{window, Performance, console};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tex_height`
[INFO] [stdout]    --> src/renderer.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let tex_height = self.texture_height;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_height`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `angle`
[INFO] [stdout]   --> src/raycasting.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn cast_ray(player: &Player, angle: f64, cos_angle: f64, sin_angle: f64) -> Ray {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture`
[INFO] [stdout]    --> src/raycasting.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let texture = &renderer.textures[texture_index];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_texture_color` and `render_sprites` are never used
[INFO] [stdout]    --> src/renderer.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Renderer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn get_texture_color(&self, texture_index: usize, tex_x: usize, tex_y: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn render_sprites(&mut self, player: &Player, sprites: &Vec<Sprite>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `js_random` is never used
[INFO] [stdout]  --> src/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn js_random() -> f64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_range` is never used
[INFO] [stdout]   --> src/utils.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn random_range(min: f64, max: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture_coord` and `hit` are never read
[INFO] [stdout]  --> src/raycasting.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Ray {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 6 |     pub distance: f64,
[INFO] [stdout] 7 |     pub texture_coord: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub vertical_hit: bool,
[INFO] [stdout] 9 |     pub hit: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raycasting.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Ray {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(distance: f64, texture_coord: f64, vertical_hit: bool, hit: bool, texture_id: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let engine = ENGINE.as_ref().unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm_game_engine` (lib) due to 1 previous error; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `tex_height`
[INFO] [stdout]    --> src/renderer.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let tex_height = self.texture_height;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_height`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `angle`
[INFO] [stdout]   --> src/raycasting.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn cast_ray(player: &Player, angle: f64, cos_angle: f64, sin_angle: f64) -> Ray {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture`
[INFO] [stdout]    --> src/raycasting.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let texture = &renderer.textures[texture_index];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_texture_color` and `render_sprites` are never used
[INFO] [stdout]    --> src/renderer.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Renderer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn get_texture_color(&self, texture_index: usize, tex_x: usize, tex_y: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn render_sprites(&mut self, player: &Player, sprites: &Vec<Sprite>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `js_random` is never used
[INFO] [stdout]  --> src/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn js_random() -> f64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_range` is never used
[INFO] [stdout]   --> src/utils.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn random_range(min: f64, max: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture_coord` and `hit` are never read
[INFO] [stdout]  --> src/raycasting.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Ray {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 6 |     pub distance: f64,
[INFO] [stdout] 7 |     pub texture_coord: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub vertical_hit: bool,
[INFO] [stdout] 9 |     pub hit: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raycasting.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Ray {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(distance: f64, texture_coord: f64, vertical_hit: bool, hit: bool, texture_id: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let engine = ENGINE.as_ref().unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm_game_engine` (lib test) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830", kill_on_drop: false }`
[INFO] [stdout] bf0722d0edc98d15e9919f33e48c86fdb63e6339806a4abd54d57da186c52830
